.sort {
    margin: 0 auto;
    width: 1180px;
    border: 1px #ccc solid;
    padding: 10px;
    display: flex;
    div {
      font-size: 14px;
      margin-right: 10px;
      cursor: pointer;
      &:hover {
        color: #ff6700;
      }
    }
}
.goods_list {
  margin: 0 auto;
  margin-top: 20px;
  width: 1200px;
  display: flex;
  flex-wrap: wrap;
}
.goods_item {
  cursor: pointer;
  width: 198px;
  height: 260px;
  margin-right: 50px;
  margin-bottom: 10px;
  border: 1px #ccc solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  .goods_name {
    width: 95%;
    height: 20%;
    font-size: 18px;
    font-weight: bold;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }
  .goods_price {
    color: #ff0000;
    font-size: 20px;
    font-weight: bold;
    width: 95%;
    height: 10%;
    text-align: right;
  }
  img {
    transform: scale(0.95);
    height: 70%;
    width: 95%;
    transition: all 0.5s;
    &:hover {
      transform: scale(1);
      transition: all 0.5s;
    }
  }
  &:nth-child(5n) {
    margin-right: 0;
  }
  &:hover {
    color: #41b0d9;
    box-shadow: 5px rgba(0, 0, 0, 0.5);
    transition: all 0.5s;
  }
}